package cn.theten52.demo.patterns.design.behavior.mediation.base;

/**
 * 协作者B
 *
 * @author wangjin
 * @date 2021/4/3
 */
public class ColleagueB extends AbstractColleague {

    @Override
    public void changeNumber(int number, AbstractColleague coll) {
        setNumber(number);
        coll.setNumber(number / 100);
    }
}
